﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mySnake
{
    public class SnakeNode
    {
        public int Row { get; set; }
        public int Col
        {
            get;
            set;

        }

        public int X
        {
            get
            {
                return Col * BlockWidth + (Col - 1) * 4;
            }
        }
        public int Y
        {
            get
            {
                return Row * BlockWidth + (Row - 1) * 4;
            }
        }

        public int BlockWidth { get; set; }

        public Color Color { get; set; }
    }
}
